Added logic to not add duplicate student records if student exists