Using Redis for

1) Sessions and passport authorisation
2) socket.io passport authorisation (same session as 1.)
3) Socket.io pub/sub of events
4) Storing current question and teacher for live lectures
5) Checking users in and out of lectures with half our TTL

Rewrote socket.io configuration

1) Separating Teacher from Student Joins
2) Teacher join completely secure
3) Student join security based on knowledge of lecture ID