ADD api request helper. see test/login