fix db code in user