An anomaly detection model for signature authentication on mobile devices