added unit test coverage to latest additions to UserController