* Improved Query method's result format.
* Added authentication flows structure