add username field into schat.
fixed: set NULL bug.
fixed seg fault bug.