made a page for the navbar and move registration to its own page