ui done, synced with server side

almost done, no error sync
fixed several minor defects
server side error validation (not verified and not synced with UI)