fixing user reg