added simple page preloader (todo: cookie handling)