add blog functionality with api