adding smartfox server functionalities