updated grants to use the NewSession func