set up timeouts and chain for login and retrieval of data