moving the redirect logic to the registration backend
Merge remote-tracking branch 'origin/five' into five