Remove vars() usage, use clearer formatting for query_str.
Extract presence sender.
Available handler: check user is invited.
Add constants module.
Handler to create root user.
Available handler: update last accessed.
Add is_invite.