created user controller and model