adds player class to handle sessions