Added security plugin and tests in minnal security