Changed the login behaviour and the account dropdown