implemented the users repository and switched out the user validation from the model to the repo