creating user model, controller and view