make locations work with users