Added new createNewUser function