photo upload working, added geolocation functionality