Registering listeners at server controller