modified databasemanager for objectaccess based access