Modified Android enrollment APIs and changed isRegistered to isEnrolled