check if blog exist before save comment using pre middleware