Add security chapter to docs