fixed redirects when creating a new account