Added functionality for player and simple authentication.