adding blog functionality