working on grades tab
api code integrated into grades tab