automatically getting request on connected