saving and deleting messages now working