working app with photo upload working