sanitize and format location, user