database changes and created user controller and model