Finished UserDatabaseControllerTest, added equals and hashcode methods for
User.