Added error.jsp. modified UserController class. directs to error.jsp during NumberFormatException for user id input