wire server up to send and update user profile with photo.