common files between server and client