Adding some server functionality for inserting and updating blogs