submit and display blog posts from database
add pagination