init webpage