remove test code from usercontroller