Adds migration script for User.wallet to User.walletid, fixes some registration and user bugs