fix errors messages and add microposts_helper