Step 10: security with methods