implement base security entities