added a save student method