trying to login in repository