login working

Signed-off-by: ZPaulo <jose.p.s.olive@gmail.com>