minor changes in main_db. adding users and search metadata to db works