why only in V1? should we do it as a before filter? maybe in the base api controller?