Added log statements for debugging
move everything from postExecute to doInBackground
anything in postExecute will not be returned to the main thread