added AsyncTask class to send/receive data