modify user controller and index view