Implemented Token sending to API