Added visit model and updated authorization for location model