removed DB call in webcam api controller