Added code to see if a student doc exists and update it's group if it does. If the student doc doesn't exit, the app will create a student doc and save it to the database.