fix user reg