players array in model is not a vector. Also remove token from player array has been added to Player class.