acquires address bar completion from database; requires cleanup and refactoring