progress in users plugin and some bug fix