added functionality to retrieve a user instance from the users database table by its id via the userRepository class with tests