create PostHandler and NoPostHandler for AsyncTask