built Rails API for Contacts'