Location history backend