adding usercontroller and template