(fix) Flow of /login, /signup and /profile

Please go through carefully