Fixed role bug. Added walletId, if available, to session.

Fixed role bug. Added walletId, if available, to session.