added code to hide areas of navbar if user is not logged in.  //nt