added usercontroller to talk to database