add permissions to post collection
add error and comment templates