Fixed navigation bar bugs in regard to authentication