Add base auth framework