Added authentication on POSTs and PUTs.
Added validation of lat/long.