FIx bug with redirect in example application.
Merge branch 'develop'