* Implement query.
* Add session expiries check in query.
* Implement auth filter.