add manage blogs funciton