invoking the auth task upon calling the trends task