Security image fix and improvement

Fixed image creation and improved it
Removed test values in controller