save student to db