fix can not register User