moved events#index to the client