add reidis support, user auth ,util to check type and mysql helper