fixed view return values for user home and user profile