adds pages_model to webcam controller