add try catch to social auth routes