implemented pull to refesh messages