build controller and views of users