add student infomation function