Refactoed auth out to strategies