use ajax for save grad, basically everything is on the same page now