add implementation to show All,Online,Offline buttons