cleaned up posting function and now posting real data
cleaning up warnings
updating location every 10 seconds to db