adding user model and index view