assert active user available before dependent api calls