Add "authCheck" back to register.js.

Signed-off-by: tungpham31 <tungpham31@gmail.com>