Fixed bug in create user