added some more functions to server