moved User model to seperate file in the models directory