Tried to implement the communication with the server; so far the connection fails when running on the emulator