fixed db and added menu on each page