fixed invite a friend registration confirmation and redirect to login page