Added field checking when adding student.
Merge remote-tracking branch 'origin/master'