Changing manifest.json to version 2.
Small corrections on how to getting credentials.