addin the user controller and model. weird issue with the database.yml file not being created yet so I added manually.