final working edit and add blog controller