adding card functionalities for news feed