added an edit function to the blogs and timeline