Login fix
flow of login