Fixed Safari issue that caused userProfile to not get populated