error trapping for server responses; bug for depersisting user records