Fixing registration/redirect problems