refactored getting user name to use show instead of name