@Override
  public List<IPrayerRequest> getRequestsByEmail(String email) {

    List<IPrayerRequest> requests = null;
    IPrayerRequestor requestor = repo.getRequestorByEmail(email);
    if (null != requestor) {
      requests = repo.getPrayerRequestsByRequestorId(requestor.getRequestorId());
    }
    return requests;
  }
  @Override
  public IPrayerRequestor getRequestorByUserNameAndPassword(String username, String password) {

    IPrayerRequestor requestor = null;

    for (IPrayerRequestor r : repo.getAllRequestors()) {
      if (r.getUsername().compareToIgnoreCase(username) == 0
          && r.getPassword().compareTo(password) == 0) {
        requestor = r;
        break;
      }
    }

    return requestor;
  }
 @Override
 public List<IPrayerRequest> getRequestsByRequestor(IPrayerRequestor requestor) {
   return repo.getPrayerRequestsByRequestorId(requestor.getRequestorId());
 }