implemented mediaCategory controller