Added wait for the Profile page to fix intermittent fail