sign out button in navbar now logs user out and redirects to login page