Add Error Messages

we need to pass it back into render edit