Catch the UserNotFoundException and display an error message