Take picture after login to have a valid token
Create a form data to send the blob to the server
starts the video at login

it ensures the user have enough time to allow the access to the webcam before the snapshot is taken