Passportjs is now working correctly with socket.io connections. I also added a profile backend route which takes the username as the only argument and tells the front end template controller to display the selected user profile. In addition, the foyer screen now shows the profile page by default.
foyer.html merge conflict resolution attempt #1