added condition to user profiles block view