I have login method which need to make two calls before move it to next page. The first method invoke login api and return token. I\'m saving this token to localStorage and