Redirect, user params, query builder

1. To login we should specify redirect_url. Redirect url is in options now.
2. We save current user_id and expire_in.
3. Query builder was refactored.