basic security layer added