improved sharing functions. include test controller code in any controller, and call shareScore(int score)