Insert student to db by onClick