implemented admin/posts behaviour