add webcam login functionality