added basic security layer