added a registration suport for users