fix return type when oauth file does not exist
Cleanup trailing whitespace