Implementing Auth class