work done on OpAuth

Kindly view what has been added. Better to know if its trash before going too far with it.