statistic and fix login