issue #6 security information storage, api and peristence.