added popular posts and  active users functionality