removed sendGenericMessage from server.js