refactors Delete on messages
adds validation and error response messaging