made very minor changes to server controller