Created a User class to use in the database.