Fix bug on user creation