Adding Exception Handling for UserController