//Person friend = getFriend(request);
//String requestorUsername = request.getParameter(USER_NAME_PARAM);
//String friendUsername = request.getParameter(FRIEND_PARAM);
Invitation inv = modelFacade.findInvitation(loggedInPerson.getUserName(), friendUsername);
if (inv != null) {
modelFacade.deleteInvitation(loggedInPerson, inv);
}
//update outgoing invitation list
//out.write(loggedInPerson.getOutgoingInvitationsAsJson());
response.setContentType("application/json;charset=UTF-8");
response.setHeader("Cache-Control", "no-cache");