init player with id, save local player ID to UserDefaults