Added models and authentication