Small changes to user and added basic class for login auth