Added user class that manages logging in