Added wait loader for pages