Edits to navbar and logout functionality