Implementing ServerCOntroller.