Made isNew an int and updated UserExists