Fixed usercontroller,there was 1 bug
fixed create index view,theres was a bug