Initial work. So far just gets a valid token for future queries