Added support for DoReauthorization, whitespace fixes