added user controller and model