Updated the User class setup. Using yml for config. Updated Entity and added test.