changed from pattern to path
added security layer
added security layer