Fixed redirecting from invitation email