unified author lookup in one function in app.js
sorting and prettying of channels