moved label controller to api controller