done most of async task as well as edited manifest file for permissions