Added methods to record score into database after a round is over