Add facebook oauth and google oauth base, fix minor bugs in ui and report.