Added user class. The user authentication is now working