new function include resetpassword ,log info ,statistic and search