Fix connecting with server, added play and messages