fixed bug in new user creation