fixed bug: When creating a new user