added usercontroller and model