refactored access logic to volley