Routes and AJAX written for API call.

Facial recognition is working.