add function of adding blogs