Add ajax to save student