add new pages and configur postgresql