Fixed error message typo in api_credentials
Added host: localhost to database.yml