backports from prod to Dev

pagination
login_required
quickpost
metadata and link to message detail