fixed error with nav bar when user logged in but not linked to apt