refactored the index view. Added a user partial