added modals to layout
Registration and logging in with Passport working...
Simple code moving

Exported game "logic" (socket.io) to separate module
Corrected error in client-side javascript