fixing redirects for user reg flow