Fix upgrade of user module, close #113.
Fix upgrade of member module from 2 to 3.