Add ajax routes for assignment creation