Update UserController.java

Problem caused by controller when process the submit