Fixes #6 Fixed security configuration