Fix logging and GitHub, make the login process cleaner and tidy up /me and advertisements