Implementation of CreatePlayer and Login.