Added login functions to user manager service