changed assign grades to use post instead of get http request