1. Change the socket source to own server
2. add and uniformed middleware for cookie parser
3. use the io socket list instead of keep own data structure
4. revised update method to findAndModify for database operation