updated user controller and create view