added preloader to the wait page