minor bugfix to usercontroller