Fix to db not null constraint in users