working on sending
added server error handling module