added a few things to the server for socket games