add CRUD methods to user controller

added all CRUD methods to user controller.