Made Location compatible to anonymous user and added tests