usercontroller added functionality