add some check on config, get uid and token from http message, add documentation for new feature, remove c99 usage
fix trailing whitespace use case in config file and add check on extract