added spinning loading page