adding token setup to login call