Included code to communicate with server