updated index view of User model.