createUser function created
createUser modified