Add upload photo handler