New method of getting token