login time and ip record fix