properly view user profile when not logged in