adding packages cors and for tokens