started implementation of security manager
furhter work on security manager
finished first working version of security manager
Merge branch 'security'