updated the score saving to deal with a user who is not signed in