Connected to server to recieve messages