add offer and answer method to the participant html page and update the signaling server to perform the necessary actions