only redirecting if setting is set
Merge pull request #9 from kobotoolbox/redirect-setting

only redirecting if setting is set