refactored views to display user name