fixed error with nav bar when user logged in but doesn't have apt