fixed creation of user