rename server method

and remove console.log()s