added security related bugs
improved security query
Merge pull request #1 from vpereira/master

added security related search options