added user controller and views and model