This PR removes the incorrect redirect usage in the face detection generator function and implements a new server-side endpoint for face detection status checking. Additionally, it includes client-side JavaScript to poll for the status and redirect to the login page upon successful face detection.
Resolves #1
This PR removes the incorrect redirect usage in the face detection generator function and implements a new server-side endpoint for face detection status checking. Additionally, it includes client-side JavaScript to poll for the status and redirect to the login page upon successful face detection.