    public Response createPerson(@FormParam("is_group") final String isGroup,
                                 @FormParam("nick_name") final String nickName,
                                 @FormParam("first_name") final String firstName,
                                 @FormParam("last_name") final String lastName,
                                 @FormParam("email") final String email,
                                 @FormParam("notification_type") final String notificationType)
    {
        final int personId;
        if (isGroup == null) {
            personId = client.createPerson(firstName, lastName, nickName);
        }
        else {
            personId = client.createGroup(nickName);
        }
        if (notificationType.equals("REGULAR_EMAIL")) {
            final int emailNotificationId = client.createEmailNotificationForPersonOrGroup(personId, email);
            log.info("Created person %s (id=%d) with email notification %s (id=%d)", nickName, personId, email, emailNotificationId);
        }
        else {
            final int smsNotificationId = client.createSmsNotificationForPersonOrGroup(personId, email);
            log.info("Created person %s (id=%d) with sms notification %s (id=%d)", nickName, personId, email, smsNotificationId);
        }
        return Response.seeOther(URI.create("/people.jsp")).entity("built yes").build();
    }

    public Response createPerson(@FormParam("is_group") final String isGroup,
                                 @FormParam("nick_name") final String nickName,
                                 @FormParam("first_name") final String firstName,
                                 @FormParam("last_name") final String lastName,
                                 @FormParam("email") final String email,
                                 @FormParam("notification_type") final String notificationType)
    {
        final int personId;
        if (isGroup == null) {
            personId = client.createPerson(firstName, lastName, nickName);
        }
        else {
            personId = client.createGroup(nickName);
        }
        if (notificationType.equals("REGULAR_EMAIL")) {
            final int emailNotificationId = client.createEmailNotificationForPersonOrGroup(personId, email);
            log.info("Created person %s (id=%d) with email notification %s (id=%d)", nickName, personId, email, emailNotificationId);
        }
        else {
            final int smsNotificationId = client.createSmsNotificationForPersonOrGroup(personId, email);
            log.info("Created person %s (id=%d) with sms notification %s (id=%d)", nickName, personId, email, smsNotificationId);
        }
        return Response.seeOther(URI.create("/ui/people")).build();
    }
