added functionality to save user instance to database table and retrieve a user instance by its email via the userRepository class with tests