tidied up navbar, edit page and create page