fixed the navbar so it displays differently when you are logged in and out of the application