added the contacts modal to the api controller. Created the get contacts api call