add regist user function