Added function createNewUser()