adding new functions to servercontroller