interfaces for implementing auth in avenue