Refactored photo upload field to remove duplicate markup.
Fixed issue where uploaded image was not saved on user registration.