Student updated- added functions for adding into the student table