fixed security yml
refactored simple search
added basic send test mail command