added the photo template and controller. stuck with the post for uploading