implemented contacts api