How to remote control your Raspberry Pi from a browser with Raspberry Pi Connect

I understand that some people may find this super convience but please don't take shortcuts. Exposing your entire machine to the wan is super insecure not to mention that the X11 desktop gui does have security exploites that will not be patched as the project is not really maintained anymore.