login check in image_add view