Fixed a notice when not logged in
API calls for the nav are now separated correctly