fix login controller

Signed-off-by: Jorge de Jesus Amador Figueroa <chullito999@gmail.com>