Add method to login an user