implemented logic for loading blog