add better error reporting
remove unnecessary permissions, add key for dev app