fixed the response status checking, added an img