Added event queue to the client.
Auth work.