added index view in users and changed user controller