changed queries implementation in connection and article collection and provided ways for setting fields
added support for setting user and usertoken from cookie and localstorage