Fixed navbar and urls to be correct for the public pages.