Update UserController.java

*fixed loginerror