add auth model and organize models and config files