changed database access to pulldown menus for database name and collection name