Feature/security manager - security manager refactoring, db security manager (authenticate)