added unit tests for UserController.cs class