MDL-47238 added an error message if guests access user profiles and they aren't allowed to