search page works with metadata database