working on registration rest resource
had to change registration.getId() to registration.getId().toString();
changed remote addr to remote host
fixed bug with query of organizationById
fixed bug with query of organizationById
cleanup work