progress in msg and users plugin and some bug fix