revamped api and got blog post names to display on home page