OAuth module added try catch