Adding login and finishing create user endpoint