fix register user link conditional