added back button functionality and started peerjs stuff