add avatar and filter posts based on active and order them by last posted