single chat class

still some bug in single chat class