Implemented vault and permissions