show ten blog posts at a time on the home page
show ten blog posts per page with pagination on homepage
move public functions to new component file