add base auth and duoshuo commit struts