Use getLocalUser in Query.
Fix factory.
Merge pull request #261 from greboid/awaymessages

Use getLocalUser in Query.