remade database and fixed links in between pages, added reference to current page