additional changes to usercontroller