fixing user database