returning nil from cellForRowAtIndexPath if ip not valid