Creado metodo login

Signed-off-by: areikusu <aleix.casanova@gmail.com>