fix bug when micropost gets delete there is a confirmation question and fix bug on homepage were error message displays once