added photo upload feature