adding photo uploads to server.