changes to irGrade, working on encrpyted auth