Apply security loggin