can send credentials to server and reveive auth token closes #18