setting up the models and finishing user auth