added more logging with some errors and now logs oauth validation