add unit test for unsigned role
improvement password and some other improvement
bug fix
fix merging comflict
test for client functions