added photo upload and display