added photo no avail logic, refactored service communication