user reg work