Add rule to store previous login date