login fully works and model is good