Cleaned code and created a test structure for UserController unit tests.