Made few changes in add_student functionality.