modified Database_API with database_user_wCallbacks