set up the security framework. Build OK