Only return the account in the reply if it's logged in
Merge branch 'memberships' into public_notes
new version with bugfix for removing all  notes on logout