make invite links work for users who login/create an account