Fix user seeing other users transactions

Fixes #577
Merge pull request #578 from TheSerapher/issue-577

Fix user seeing other users transactions