init pages with back-end