fix login

Signed-off-by: JM Miguel <johnmicahmiguel@gmail.com>