Fix authorization for profile