Fixing the redirect for users