Completed getToken