start refactoring user module #1281
Merge branch 'dev' of https://github.com/yupe/yupe into dev