add channel routes to api plugin
add 401 status to catched errors