added blog functionality