base auth models and settings