done with some corrections to studentemail session