public void Login(string name)
 {
     packet.Login(name);
     SetState(State.LOGGING_IN);
 }