Security

Implemented security manager